Skip to content

Coerce query assertion test #1184

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 20, 2024
Merged

Coerce query assertion test #1184

merged 1 commit into from
May 20, 2024

Conversation

aidanharan
Copy link
Contributor

Coerce ActiveRecord::Assertions::QueryAssertionsTest#test_assert_queries_match.

https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/actions/runs/9149232428/job/25152652558

  1) Failure:
ActiveRecord::Assertions::QueryAssertionsTest#test_assert_queries_match [/usr/local/bundle/bundler/gems/rails-f31b853267ba/activerecord/test/cases/assertions/query_assertions_test.rb:44]:
0 instead of 1 queries were executed.
Queries:
EXEC sp_executesql N'SELECT [posts].* FROM [posts] ORDER BY [posts].[id] ASC OFFSET 0 ROWS FETCH NEXT @0 ROWS ONLY', N'@0 int', @0 = 1.
Expected: 1
  Actual: 0

@aidanharan aidanharan marked this pull request as ready for review May 20, 2024 12:15
@aidanharan aidanharan merged commit f38562b into main May 20, 2024
2 of 8 checks passed
@aidanharan aidanharan deleted the coerce-query-assertion-test branch May 20, 2024 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant